package com.ysg.widget.dialog.adapter;

import android.widget.TextView;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.ysg.R;
import com.ysg.http.data.entity.expression.ExpressionEntity;

public class ExpressionAdapter extends BaseQuickAdapter<ExpressionEntity, BaseViewHolder> {
    public ExpressionAdapter() {
        super(R.layout.item_dialog_expression);
    }

    @Override
    protected void convert(BaseViewHolder holder, ExpressionEntity item) {
        TextView tvName = holder.getView(R.id.tvName);
        tvName.setText(item.getContent());
    }
}
